package com.ee.chat.common.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ee.chat.common.entity.UserBlacklist;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * Mapper接口
 * </p>
 *
 * @author Shane
 * @since 2019-11-06
 */
public interface UserBlacklistMapper extends BaseMapper<UserBlacklist> {
    /**
     * 获取用户拉黑关系
     * @Author Shane
     * @Date 2019/11/6 15:25
     * @param
     * @return
     **/
    UserBlacklist select(@Param("userId") Integer userId, @Param("toUserId") Integer toUserId);
}